import type { S } from 'node_modules/vite/dist/node/types.d-aGj9QkWt'

export interface Basis {
  value?: string | number
  icon: string
  title: string
  field: string
  type: string
  key: string
  info?: string
  valite: boolean
  drag?: boolean
  color?: string
  width?: string
  height?: string
  props: {
    size?: string
    span: number
    type?: string
    maxlength?: number
    minlength?: number
    showWordLimit?: boolean
    clearable?: boolean
    showPassword?: boolean
    disabled?: boolean
    valueFormat?: string
  }
  options?: {}
  button?: string
  action?: string
  upload_text?: string
  multiple?: boolean
}

export interface prop {
  element: Basis
  activeId: String
  form: Array<[]> // 表单数据
  copy: Function // 复制事件
  delete: Function // 删除事件
  choose: Function // 选中事件
}
